//
//  TableViewController.h
//  ksjv2
//
//  Created by mac on 14/12/19.
//  Copyright (c) 2014年 CnbizMedia. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BY.h"

@protocol ChangeCityDelegate
-(void)buyIphone:(NSString *)iphoneType money:(NSString *)money;

typedef void (^ReturnTextBlock)(NSString *showText);
@end

@interface TableViewController : UIViewController
{
    id<ChangeCityDelegate> cityDeleage;
}
@property(assign,nonatomic)id<ChangeCityDelegate> cityDeleage;

@property(nonatomic,strong)NSString*slug;
@property(nonatomic,strong)NSDictionary*citySlug;
@property(nonatomic,strong)NSString*PscrollHidden;
@property(nonatomic,strong)NSDictionary*push_dic;
@property(nonatomic)BOOL isMain;


@property (nonatomic,strong) NSMutableArray *listAll;
@property (nonatomic,strong) NSMutableArray *allItemsToNil;
@property (nonatomic,strong) NSString *cityName;

@property (nonatomic,copy) void(^operationBlock)(animateType type, NSString *itemName, int index);

+ (NSString *)deviceIPAdress;



@property (nonatomic, copy) ReturnTextBlock returnTextBlock;

- (void)returnText:(ReturnTextBlock)block;
@end
